﻿<%@ Page Language="C#" %>

<script runat="server">
    public string YearTime;
    public string MonthTime;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["t"] != null)
        {
            YearTime = Convert.ToDateTime(Request.QueryString["t"]).ToString("yyyy-MM-dd").Split('-')[0];
            MonthTime = Convert.ToDateTime(Request.QueryString["t"]).ToString("yyyy-MM-dd").Split('-')[1];
        }
        else
        {
            YearTime = DateTime.Now.ToString("yyyy-MM-dd").Split('-')[0];
            MonthTime = DateTime.Now.ToString("yyyy-MM-dd").Split('-')[1];
        }
    }
</script>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>复用报表</title>
    <XProject:ext ID="Ext1" runat="server" />
    <script src="../js/ReuseRecycle_ZDB/Reuse.js" type="text/javascript"></script>
    <link href="../css/Report.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <script>
        var YearT = '<%=YearTime %>';
        var MonthT = '<%=MonthTime %>';
    </script>
    </div>
    </form>
</body>
</html>